package com.jhclothing.inbound.service;

import com.jhclothing.inbound.domain.ClothingInbound;
import com.jhclothing.product.vo.StatisticInOutVo;

import java.util.List;

/**
 * 服饰入库Service接口
 *
 * @author zyp
 * @date 2024-04-25
 */
public interface IClothingInboundService {
    /**
     * 查询服饰入库
     *
     * @param inboundId 服饰入库主键
     * @return 服饰入库
     */
    ClothingInbound selectClothingInboundByInboundId(Long inboundId);

    /**
     * 查询服饰入库列表
     *
     * @param clothingInbound 服饰入库
     * @return 服饰入库集合
     */
    List<ClothingInbound> selectClothingInboundList(ClothingInbound clothingInbound);

    /**
     * 统计一定时间内的服饰入库数量
     */
    List<StatisticInOutVo> statisticClothingInboundNum(StatisticInOutVo statisticInOutVo);

    /**
     * 新增服饰入库
     *
     * @param clothingInbound 服饰入库
     * @return 结果
     */
    String insertClothingInbound(ClothingInbound clothingInbound);

    /**
     * 修改服饰入库
     *
     * @param clothingInbound 服饰入库
     * @return 结果
     */
    String updateClothingInbound(ClothingInbound clothingInbound);

    /**
     * 批量删除服饰入库
     *
     * @param inboundIds 需要删除的服饰入库主键集合
     * @param updateBy   更新者
     * @return 结果
     */
    String deleteClothingInboundByInboundIds(Long[] inboundIds, String updateBy);
}
